package com.tangyuan.user.mapper;

import com.tangyuan.vo.*;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

@Mapper
public interface UserPublishMapper {

    List<UserConcernVo> getMyconcern(Long userId);

    BigDecimal getMypurse(Long userId);

    List<UserBalanceVo> getMyRecharge(Long userId);

    List<MyconcernedVo> getMyconcerned(Long userId);

    void setMyconcernMark(Long concernedUserId, String remark, Long userId);

    Integer checkspecialconcern(Long userId, Long concernedUserId);

    void removespecialconcern(Long userId, Long concernedUserId);

    void setMyspecialconcern(Long userId, Long concernedUserId);

    void removeMyconcerned(@Param("userId") Long userId, @Param("concernUserId") Long concernUserId);

    List<UserConcernVo> searchMyconcern(Long userId,String name);

    List<UserConcernedVo> searchMyconcerned(Long userId, String name);

    MyconcernedVo getconcern(Long userId, Long id);


    List<UserBalanceVo> getMyCurrencyDetails(Long userId);


    MyInfoMissionVo getMyInformation(Long userId);

}
